﻿using Hsp.Auto.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hsp.Auto.Generator.Utility
{
    /// <summary>
    /// 单复数形式扩展类
    /// </summary>
    public static class SingularPluralExt
    {

        public static string ToSingular(this string name)
        {
            return new Pluralizer().Singularize(name); ;
        }

        public static string ToPluralize(this string name)
        {
            return new Pluralizer().Pluralize(name); ;
        }


    }
}
